package com.sf.sms.user.entity;

import com.sf.sms.utils.IdEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 80002004 on 2016/8/29.
 */
public class Role extends IdEntity implements Serializable {

    /**角色名称*/
    private String roleName;
    /**角色编码*/
    private String roleCode;
    /**创建时间*/
    private Date createTime;
    /**修改时间*/
    private Date modifyTime;

    public Role(String roleName, String roleCode, Date createTime, Date modifyTime) {
        this.roleName = roleName;
        this.roleCode = roleCode;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
